<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="Dashboard">
    <meta name="keyword" content="Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina">

    <title>DASHGUM - FREE Bootstrap Admin Template</title>

    <!-- Bootstrap core CSS -->
    <link href="assets/css/bootstrap.css" rel="stylesheet">
    <!--external css-->
    <link href="assets/font-awesome/css/font-awesome.css" rel="stylesheet"/>
    <link rel="stylesheet" type="text/css" href="assets/css/zabuto_calendar.css">
    <link rel="stylesheet" type="text/css" href="assets/js/gritter/css/jquery.gritter.css"/>
    <link rel="stylesheet" type="text/css" href="assets/lineicons/style.css">

    <!-- Custom styles for this template -->
    <link href="assets/css/style.css" rel="stylesheet">
    <link href="assets/css/style-responsive.css" rel="stylesheet">

    <script src="assets/js/chart-master/Chart.js"></script>

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
    <body>
        <aside id="aside">
            <div id="sidebar" class="nav-collapse ">
            <ul class="sidebar-menu" id="nav-accordion">
                <p class="centered"><a href="profile.html">
                    <img src="assets/img/ui-sam.jpg" class="img-circle"  width="60"></a></p>
                <h5 class="centered" id="NowUserName"></h5>
                <li class="sub-menu"><a href="javascript:;"> <i
                        class="fa fa-desktop"></i> <span>管理员模块</span>
                </a>
                    <ul class="sub">
                        <li><a href="UserIndex.html">管理员信息</a></li>
                        <li><a data-toggle="modal" href="#insertUserModal">添加管理员</a></li>
                    </ul>
                </li>
                <li class="sub-menu"><a href="javascript:;"> <i
                        class="fa fa-cogs"></i> <span>员工模块</span>
                </a>
                    <ul class="sub">
                        <li><a href="EmployeeIndex.html">员工信息</a></li>
                        <li><a data-toggle="modal" onclick="job_DeptList()" href="#insertEmployeeModal">添加员工</a></li>
                    </ul>
                </li>
                <li class="sub-menu"><a href="javascript:;"> <i
                        class="fa fa-book"></i> <span>部门模块</span>
                </a>
                    <ul class="sub">
                        <li><a href="DeptIndex.html">部门信息</a></li>
                        <li><a data-toggle="modal" href="#insertDeptModal">添加部门</a></li>
                    </ul>
                </li>
                <li class="sub-menu"><a href="javascript:;"> <i
                        class="fa fa-tasks"></i> <span>岗位模块</span>
                </a>
                    <ul class="sub">
                        <li><a href="JobIndex.html">岗位信息</a></li>
                        <li><a data-toggle="modal" href="#insertJobModal">添加岗位</a></li>
                    </ul>
                </li>
                <li class="sub-menu"><a href="javascript:;"> <i
                        class="fa fa-th"></i> <span>公告管理</span>
                </a>
                    <ul class="sub">
                        <li><a href="AnnouncementIndex.html">公告展示</a></li>
                        <li><a data-toggle="modal" href="#insertAnnouncementModal">添加公告</a></li>
                    </ul>
                </li>
                <li class="sub-menu"><a href="javascript:;"> <i
                        class=" fa fa-bar-chart-o"></i> <span>文件管理</span>
                </a>
                    <ul class="sub">
                        <li><a href="DocumentIndex.html">文件显示及下载</a></li>
                        <li><a data-toggle="modal" href="#insertDocumentModal">上传文件</a></li>
                    </ul>
                </li>
            </ul>
        </div>
        </aside>
        <!-- 管理员Modal enctype="multipart/form-data"-->
        <form method="post" id="insertUser" enctype="multipart/form-data"
              onkeydown="if(event.keyCode==13){return false;}">
            <!-- 模态框Modal -->
            <div aria-hidden="true" aria-labelledby="myModalLabel" role="dialog" tabindex="-1" id="insertUserModal"
                 class="modal fade">
                <!-- 设置请求方式为method     类型 enctype="multipart/form-data"  -->
                <div class="modal-dialog">
                    <div class="modal-content">
                        <div class="modal-header">
                            <!--                 modal弹窗里面加上这个按钮，那么点击则会关闭当前弹窗-->
                            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;
                            </button>
                            <h4 class="modal-title">添加管理员</h4>
                        </div>
                        <div class="modal-body">
                            <p>登录名：</p>
                            <input type="text" name="loginname" placeholder="请输入登录名" autocomplete="off"
                                   class="form-control placeholder-no-fix">

                        </div>
                        <div class="modal-body">
                            <p>用户名：</p>
                            <input type="text" name="username" placeholder="请输入用户名" autocomplete="off"
                                   class="form-control placeholder-no-fix">

                        </div>
                        <div class="modal-body">
                            <p>密码：</p>
                            <input type="text" name="password" placeholder="请输入密码" autocomplete="off"
                                   class="form-control placeholder-no-fix">

                        </div>
                        <div class="modal-body">
                            <p>状态：</p>
                            <select name="status" class="form-control placeholder-no-fix">
                                <option value="1">超级管理员</option>
                                <option value="0">普通管理员</option>
                            </select>
                        </div>
                        <div class="modal-body">
                            <p>头像：</p>
                            <input type="file" name="filepart" autocomplete="off" class="form-control placeholder-no-fix">
                        </div>
                        <div class="modal-footer">
                            <button data-dismiss="modal" class="btn btn-default" type="button">Cancel</button>
                            <button class="btn btn-theme" onclick="insertUser()"  type="button">Submit</button>
                        </div>
                    </div>
                </div>
            </div>
        </form>
        <!-- 管理员Modal enctype="multipart/form-data"-->

        <!-- 添加员工的请求方式为post   -->
        <form method="post" id="insertEmployee" id="insertEmployee" enctype="multipart/form-data"
              onkeydown="if(event.keyCode==13){return false;}">
            <!-- 模态框Modal -->
            <div aria-hidden="true" aria-labelledby="myModalLabel" role="dialog" tabindex="-1" id="insertEmployeeModal"
                 class="modal fade">
                <!-- 设置请求方式为method     类型 enctype="multipart/form-data"  -->
                <div class="modal-dialog">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;
                            </button>
                            <h4 class="modal-title">添加员工</h4>
                        </div>
                        <div class="row">
                            <div class="col-md-1"></div>
                            <div class="modal-body col-md-5">
                                <p>员工名：</p>
                                <input type="text" name="name" placeholder="请输入员工名" autocomplete="off"
                                       class="form-control placeholder-no-fix">
                            </div>
                            <div class="modal-body  col-md-5">
                                <p>密码：</p>
                                <input type="text" name="password" placeholder="请输入密码" autocomplete="off"
                                       class="form-control placeholder-no-fix">
                            </div>
                            <div class="col-md-1"></div>
                        </div>
                        <div class="row">
                            <div class="col-md-1"></div>
                            <div class="modal-body col-md-5">
                                <p>身份证：</p>
                                <input type="text" name="cardId" placeholder="请输入身份证" autocomplete="off"
                                       class="form-control placeholder-no-fix">
                            </div>
                            <div class="modal-body col-md-5">
                                <p>手机号码：</p>
                                <input type="text" name="phone" placeholder="请输入手机号码" autocomplete="off"
                                       class="form-control placeholder-no-fix">
                            </div>
                            <div class="col-md-1"></div>
                        </div>
                        <div class="row">
                            <div class="col-md-1"></div>
                            <div class="modal-body col-md-5">
                                <p>邮箱：</p>
                                <input type="text" name="email" placeholder="请输入邮箱" autocomplete="off"
                                       class="form-control placeholder-no-fix">
                            </div>
                            <div class="modal-body col-md-5">
                                <p>性别：</p>
                                <select name="sex" class="form-control placeholder-no-fix">
                                    <option value="男">男</option>
                                    <option value="女">女</option>
                                </select>
                            </div>
                            <div class="col-md-1"></div>
                        </div>
                        <div class="row">
                            <div class="col-md-1"></div>
                            <div class="modal-body col-md-5">
                                <p>部门：</p>
                                <select name="deptId" class="form-control placeholder-no-fix">

                                </select>
                            </div>
                            <div class="modal-body col-md-5">
                                <p>岗位：</p>
                                <select name="jobId" class="form-control placeholder-no-fix">

                                </select>
                            </div>
                            <div class="col-md-1"></div>
                        </div>
                        <div class="row">
                            <div class="col-md-1"></div>
                            <div class="modal-body col-md-10">
                                <p>头像：</p>
                                <input type="file" name="filepart" autocomplete="off"
                                       class="form-control placeholder-no-fix">
                            </div>
                            <div class="col-md-1"></div>
                        </div>
                        <div class="modal-footer">
                            <button data-dismiss="modal" class="btn btn-default" type="button" onclick="function x() {
                       history.go(-1);
                    }">Cancel</button>
                            <button class="btn btn-theme" onclick="insertEmployee()" type="button">Submit</button>
                        </div>
                    </div>
                </div>
            </div>
        </form>
        <!-- 添加员工的请求方式为post   -->

        <!-- 公告Modal -->
        <form method="post" id="insertAnnouncement" onkeydown="if(event.keyCode==13){return false;}">
            <!-- 模态框Modal -->
            <div aria-hidden="true" aria-labelledby="myModalLabel" role="dialog" tabindex="-1" id="insertAnnouncementModal"
                 class="modal fade">
                <!-- 设置请求方式为method     类型 enctype="multipart/form-data"  -->
                <div class="modal-dialog">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;
                            </button>
                            <h4 class="modal-title">添加公告</h4>
                        </div>

                        <div class="modal-body">
                            <p>标题：</p>
                            <input type="text" name="title" placeholder="请输入标题" autocomplete="off"
                                   class="form-control placeholder-no-fix">
                        </div>

                        <div class="modal-body">
                            <p>正文：</p>
                            <textarea type="text" name="content" autocomplete="off"
                                      class="form-control placeholder-no-fix"></textarea>
                            <input name="uid" value="${NowUser.id}" type="hidden" />
                        </div>

                        <div class="modal-footer">
                            <button data-dismiss="modal" class="btn btn-default" type="button" onclick="function x() {
                       history.go(-1);
                    }">Cancel</button>
                            <button class="btn btn-theme"  onclick="insertAnnouncement()" type="button">Submit</button>
                        </div>

                    </div>
                </div>
            </div>
        </form>
        <!-- 公告Modal -->

        <!-- 文件Modal enctype="multipart/form-data"-->
        <form method="post" id="insertDocument" enctype="multipart/form-data"
              onkeydown="if(event.keyCode==13){return false;}">
            <!-- 模态框Modal -->
            <div aria-hidden="true" aria-labelledby="myModalLabel" role="dialog" tabindex="-1" id="insertDocumentModal"
                 class="modal fade">
                <!-- 设置请求方式为method     类型 enctype="multipart/form-data"  -->
                <div class="modal-dialog">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;
                            </button>
                            <h4 class="modal-title">添加文件</h4>
                        </div>
                        <div class="modal-body">
                            <p>文件：</p>
                            <input type="file" name="filepart" autocomplete="off" class="form-control placeholder-no-fix">
                        </div>
                        <div class="modal-body">
                            <p>描述：</p>
                            <textarea type="text" name="remark" autocomplete="off"
                                      class="form-control placeholder-no-fix"></textarea>
                            <input name="uploader" value="${NowUser.username}" type="hidden" />
                        </div>
                        <div class="modal-footer">
                            <button data-dismiss="modal" class="btn btn-default" type="button" onclick="function x() {
                       history.go(-1);
                    }">Cancel</button>
                            <button class="btn btn-theme" onclick="insertDocument()" type="button">Submit</button>
                        </div>
                    </div>
                </div>
            </div>
        </form>
        <!-- 文件Modal enctype="multipart/form-data"-->

        <!-- 部门Modal  -->
        <form method="post" id="insertDept" onkeydown="if(event.keyCode==13){return false;}">
            <!-- 模态框Modal -->
            <div aria-hidden="true" aria-labelledby="myModalLabel" role="dialog" tabindex="-1" id="insertDeptModal"
                 class="modal fade">
                <div class="modal-dialog">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;
                            </button>
                            <h4 class="modal-title">增加部门信息</h4>
                        </div>
                        <div class="modal-body">
                            <p>部门名：</p>
                            <input type="text" name="name" placeholder="请输入部门名" autocomplete="off"
                                   class="form-control placeholder-no-fix">
                        </div>
                        <div class="modal-body">
                            <p>部门别称：</p>
                            <input type="text" name="remark" placeholder="请输入部门别称" autocomplete="off"
                                   class="form-control placeholder-no-fix">
                        </div>
                        <div class="modal-footer">
                            <button data-dismiss="modal" class="btn btn-default" type="button" onclick="function x() {
                       history.go(-1);
                 }">Cancel</button>
                            <button class="btn btn-theme" onclick="insertDept()" type="button">Submit</button>
                        </div>
                    </div>
                </div>
            </div>
        </form>
        <!-- 部门Modal  -->

        <!-- 岗位Model -->
        <!-- 请求方式为post    enctype="multipart/form-data"-->
        <form method="post" id="insertJob" onkeydown="if(event.keyCode==13){return false;}">
            <!-- 模态框Modal -->
            <div aria-hidden="true" aria-labelledby="myModalLabel" role="dialog" tabindex="-1" id="insertJobModal"
                 class="modal fade">
                <!-- 设置请求方式为method     类型 enctype="multipart/form-data"  -->
                <div class="modal-dialog">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;
                            </button>
                            <h4 class="modal-title">增加岗位信息</h4>
                        </div>

                        <!--  =======================================   -->
                        <div class="modal-body">
                            <p>岗位名：</p>
                            <input type="text" name="name" placeholder="请输入岗位名" autocomplete="off"
                                   class="form-control placeholder-no-fix">
                        </div>
                        <!--  =======================================   -->
                        <div class="modal-body">
                            <p>岗位别称：</p>
                            <input type="text" name="remark" placeholder="请输入岗位别称" autocomplete="off"
                                   class="form-control placeholder-no-fix">
                        </div>
                        <!--  =======================================   -->


                        <div class="modal-footer">
                            <button data-dismiss="modal" class="btn btn-default" type="button" onclick="function x() {
                       history.go(-1);
                 }">Cancel</button>
                            <button class="btn btn-theme" onclick="insertJob()"  type="button">Submit</button>
                        </div>
                    </div>
                </div>
            </div>
        </form>
        <!-- 岗位Model -->

        <!-- js placed at the end of the document so the pages load faster -->
        <script src="assets/js/jquery-1.8.3.min.js"></script>
        <script src="assets/js/bootstrap.min.js"></script>
        <script class="include" type="text/javascript" src="assets/js/jquery.dcjqaccordion.2.7.js"></script>
        <script src="assets/js/jquery.scrollTo.min.js"></script>
        <script src="assets/js/jquery.nicescroll.js" type="text/javascript"></script>
        <script src="assets/js/jquery.sparkline.js"></script>
        <!--common script for all pages-->
        <script src="assets/js/common-scripts.js"></script>
        <script type="text/javascript" src="assets/js/gritter/js/jquery.gritter.js"></script>
        <script type="text/javascript" src="assets/js/gritter-conf.js"></script>

        <!--script for this page-->
        <script src="assets/js/sparkline-chart.js"></script>
        <script src="assets/js/zabuto_calendar.js"></script>
    </body>
</html>
